Skip to main content

Upload cost target data in CSV format.

POST 

/cost_target/:id/upload_csv/

Allows uploading of CSV data for a specified cost target ID. Requires a payload formatted according to the CostTarget schema.

Request

Path Parameters

    id integerrequired

    A unique integer value identifying this cost target.

Body

required

    report_id Report id (integer)nullable

    Possible values: >= -2147483648 and <= 2147483647

    name Name (string)nullable

    Possible values: <= 255 characters

    target_type Target type (string)nullable

    Possible values: <= 255 characters

    period Period (string)nullable

    Possible values: [MONTHLY, QUARTERLY, ANNUALLY]

    status Status (string)nullable

    Possible values: [DRAFT, ACTIVE, DELETED]

    number_of_periods Number of periods (integer)nullable

    Possible values: >= -2147483648 and <= 2147483647

    start_date datenullable
    end_date datenullable
    look_back_period Look back period (integer)nullable

    Possible values: >= -2147483648 and <= 2147483647

    budget_type Budget type (string)nullable

    Possible values: [BOTTOM_UP, TOP_DOWN]

    starting_value Starting value (string)nullable

    Possible values: [AVERAGE_MONTHLY_LOOK_BACK, PREVIOUS_MONTH]

    growth_rate Growth rate (number)nullable
    normalization_period Normalization period (boolean)nullable

Responses

Schema

    id ID (integer)
    created date-time
    modified date-time
    report_id Report id (integer)nullable

    Possible values: >= -2147483648 and <= 2147483647

    name Name (string)nullable

    Possible values: <= 255 characters

    target_type Target type (string)nullable

    Possible values: <= 255 characters

    period Period (string)nullable

    Possible values: [MONTHLY, QUARTERLY, ANNUALLY]

    status Status (string)nullable

    Possible values: [DRAFT, ACTIVE, DELETED]

    number_of_periods Number of periods (integer)nullable

    Possible values: >= -2147483648 and <= 2147483647

    start_date datenullable
    end_date datenullable
    look_back_period Look back period (integer)nullable

    Possible values: >= -2147483648 and <= 2147483647

    budget_type Budget type (string)nullable

    Possible values: [BOTTOM_UP, TOP_DOWN]

    starting_value Starting value (string)nullable

    Possible values: [AVERAGE_MONTHLY_LOOK_BACK, PREVIOUS_MONTH]

    growth_rate Growth rate (number)nullable
    normalization_period Normalization period (boolean)nullable
    client Client (integer)
    created_by Created by (integer)
Loading...